package com.datang.pet.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserMessageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserMessageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIsReadIsNull() {
            addCriterion("is_read is null");
            return (Criteria) this;
        }

        public Criteria andIsReadIsNotNull() {
            addCriterion("is_read is not null");
            return (Criteria) this;
        }

        public Criteria andIsReadEqualTo(String value) {
            addCriterion("is_read =", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadNotEqualTo(String value) {
            addCriterion("is_read <>", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadGreaterThan(String value) {
            addCriterion("is_read >", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadGreaterThanOrEqualTo(String value) {
            addCriterion("is_read >=", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadLessThan(String value) {
            addCriterion("is_read <", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadLessThanOrEqualTo(String value) {
            addCriterion("is_read <=", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadLike(String value) {
            addCriterion("is_read like", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadNotLike(String value) {
            addCriterion("is_read not like", value, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadIn(List<String> values) {
            addCriterion("is_read in", values, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadNotIn(List<String> values) {
            addCriterion("is_read not in", values, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadBetween(String value1, String value2) {
            addCriterion("is_read between", value1, value2, "isRead");
            return (Criteria) this;
        }

        public Criteria andIsReadNotBetween(String value1, String value2) {
            addCriterion("is_read not between", value1, value2, "isRead");
            return (Criteria) this;
        }

        public Criteria andMessageIsNull() {
            addCriterion("message is null");
            return (Criteria) this;
        }

        public Criteria andMessageIsNotNull() {
            addCriterion("message is not null");
            return (Criteria) this;
        }

        public Criteria andMessageEqualTo(String value) {
            addCriterion("message =", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotEqualTo(String value) {
            addCriterion("message <>", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThan(String value) {
            addCriterion("message >", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageGreaterThanOrEqualTo(String value) {
            addCriterion("message >=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThan(String value) {
            addCriterion("message <", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLessThanOrEqualTo(String value) {
            addCriterion("message <=", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageLike(String value) {
            addCriterion("message like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotLike(String value) {
            addCriterion("message not like", value, "message");
            return (Criteria) this;
        }

        public Criteria andMessageIn(List<String> values) {
            addCriterion("message in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotIn(List<String> values) {
            addCriterion("message not in", values, "message");
            return (Criteria) this;
        }

        public Criteria andMessageBetween(String value1, String value2) {
            addCriterion("message between", value1, value2, "message");
            return (Criteria) this;
        }

        public Criteria andMessageNotBetween(String value1, String value2) {
            addCriterion("message not between", value1, value2, "message");
            return (Criteria) this;
        }

        public Criteria andMessageTypeIsNull() {
            addCriterion("message_type is null");
            return (Criteria) this;
        }

        public Criteria andMessageTypeIsNotNull() {
            addCriterion("message_type is not null");
            return (Criteria) this;
        }

        public Criteria andMessageTypeEqualTo(String value) {
            addCriterion("message_type =", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeNotEqualTo(String value) {
            addCriterion("message_type <>", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeGreaterThan(String value) {
            addCriterion("message_type >", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeGreaterThanOrEqualTo(String value) {
            addCriterion("message_type >=", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeLessThan(String value) {
            addCriterion("message_type <", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeLessThanOrEqualTo(String value) {
            addCriterion("message_type <=", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeLike(String value) {
            addCriterion("message_type like", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeNotLike(String value) {
            addCriterion("message_type not like", value, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeIn(List<String> values) {
            addCriterion("message_type in", values, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeNotIn(List<String> values) {
            addCriterion("message_type not in", values, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeBetween(String value1, String value2) {
            addCriterion("message_type between", value1, value2, "messageType");
            return (Criteria) this;
        }

        public Criteria andMessageTypeNotBetween(String value1, String value2) {
            addCriterion("message_type not between", value1, value2, "messageType");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andModelIdIsNull() {
            addCriterion("model_id is null");
            return (Criteria) this;
        }

        public Criteria andModelIdIsNotNull() {
            addCriterion("model_id is not null");
            return (Criteria) this;
        }

        public Criteria andModelIdEqualTo(String value) {
            addCriterion("model_id =", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdNotEqualTo(String value) {
            addCriterion("model_id <>", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdGreaterThan(String value) {
            addCriterion("model_id >", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdGreaterThanOrEqualTo(String value) {
            addCriterion("model_id >=", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdLessThan(String value) {
            addCriterion("model_id <", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdLessThanOrEqualTo(String value) {
            addCriterion("model_id <=", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdLike(String value) {
            addCriterion("model_id like", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdNotLike(String value) {
            addCriterion("model_id not like", value, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdIn(List<String> values) {
            addCriterion("model_id in", values, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdNotIn(List<String> values) {
            addCriterion("model_id not in", values, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdBetween(String value1, String value2) {
            addCriterion("model_id between", value1, value2, "modelId");
            return (Criteria) this;
        }

        public Criteria andModelIdNotBetween(String value1, String value2) {
            addCriterion("model_id not between", value1, value2, "modelId");
            return (Criteria) this;
        }

        public Criteria andMessageDateIsNull() {
            addCriterion("message_date is null");
            return (Criteria) this;
        }

        public Criteria andMessageDateIsNotNull() {
            addCriterion("message_date is not null");
            return (Criteria) this;
        }

        public Criteria andMessageDateEqualTo(Date value) {
            addCriterion("message_date =", value, "messageDate");
            return (Criteria) this;
        }

        public Criteria andMessageDateNotEqualTo(Date value) {
            addCriterion("message_date <>", value, "messageDate");
            return (Criteria) this;
        }

        public Criteria andMessageDateGreaterThan(Date value) {
            addCriterion("message_date >", value, "messageDate");
            return (Criteria) this;
        }

        public Criteria andMessageDateGreaterThanOrEqualTo(Date value) {
            addCriterion("message_date >=", value, "messageDate");
            return (Criteria) this;
        }

        public Criteria andMessageDateLessThan(Date value) {
            addCriterion("message_date <", value, "messageDate");
            return (Criteria) this;
        }

        public Criteria andMessageDateLessThanOrEqualTo(Date value) {
            addCriterion("message_date <=", value, "messageDate");
            return (Criteria) this;
        }

        public Criteria andMessageDateIn(List<Date> values) {
            addCriterion("message_date in", values, "messageDate");
            return (Criteria) this;
        }

        public Criteria andMessageDateNotIn(List<Date> values) {
            addCriterion("message_date not in", values, "messageDate");
            return (Criteria) this;
        }

        public Criteria andMessageDateBetween(Date value1, Date value2) {
            addCriterion("message_date between", value1, value2, "messageDate");
            return (Criteria) this;
        }

        public Criteria andMessageDateNotBetween(Date value1, Date value2) {
            addCriterion("message_date not between", value1, value2, "messageDate");
            return (Criteria) this;
        }

        public Criteria andExtent1IsNull() {
            addCriterion("extent1 is null");
            return (Criteria) this;
        }

        public Criteria andExtent1IsNotNull() {
            addCriterion("extent1 is not null");
            return (Criteria) this;
        }

        public Criteria andExtent1EqualTo(String value) {
            addCriterion("extent1 =", value, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1NotEqualTo(String value) {
            addCriterion("extent1 <>", value, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1GreaterThan(String value) {
            addCriterion("extent1 >", value, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1GreaterThanOrEqualTo(String value) {
            addCriterion("extent1 >=", value, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1LessThan(String value) {
            addCriterion("extent1 <", value, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1LessThanOrEqualTo(String value) {
            addCriterion("extent1 <=", value, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1Like(String value) {
            addCriterion("extent1 like", value, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1NotLike(String value) {
            addCriterion("extent1 not like", value, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1In(List<String> values) {
            addCriterion("extent1 in", values, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1NotIn(List<String> values) {
            addCriterion("extent1 not in", values, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1Between(String value1, String value2) {
            addCriterion("extent1 between", value1, value2, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent1NotBetween(String value1, String value2) {
            addCriterion("extent1 not between", value1, value2, "extent1");
            return (Criteria) this;
        }

        public Criteria andExtent2IsNull() {
            addCriterion("extent2 is null");
            return (Criteria) this;
        }

        public Criteria andExtent2IsNotNull() {
            addCriterion("extent2 is not null");
            return (Criteria) this;
        }

        public Criteria andExtent2EqualTo(String value) {
            addCriterion("extent2 =", value, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2NotEqualTo(String value) {
            addCriterion("extent2 <>", value, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2GreaterThan(String value) {
            addCriterion("extent2 >", value, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2GreaterThanOrEqualTo(String value) {
            addCriterion("extent2 >=", value, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2LessThan(String value) {
            addCriterion("extent2 <", value, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2LessThanOrEqualTo(String value) {
            addCriterion("extent2 <=", value, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2Like(String value) {
            addCriterion("extent2 like", value, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2NotLike(String value) {
            addCriterion("extent2 not like", value, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2In(List<String> values) {
            addCriterion("extent2 in", values, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2NotIn(List<String> values) {
            addCriterion("extent2 not in", values, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2Between(String value1, String value2) {
            addCriterion("extent2 between", value1, value2, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent2NotBetween(String value1, String value2) {
            addCriterion("extent2 not between", value1, value2, "extent2");
            return (Criteria) this;
        }

        public Criteria andExtent3IsNull() {
            addCriterion("extent3 is null");
            return (Criteria) this;
        }

        public Criteria andExtent3IsNotNull() {
            addCriterion("extent3 is not null");
            return (Criteria) this;
        }

        public Criteria andExtent3EqualTo(String value) {
            addCriterion("extent3 =", value, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3NotEqualTo(String value) {
            addCriterion("extent3 <>", value, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3GreaterThan(String value) {
            addCriterion("extent3 >", value, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3GreaterThanOrEqualTo(String value) {
            addCriterion("extent3 >=", value, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3LessThan(String value) {
            addCriterion("extent3 <", value, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3LessThanOrEqualTo(String value) {
            addCriterion("extent3 <=", value, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3Like(String value) {
            addCriterion("extent3 like", value, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3NotLike(String value) {
            addCriterion("extent3 not like", value, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3In(List<String> values) {
            addCriterion("extent3 in", values, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3NotIn(List<String> values) {
            addCriterion("extent3 not in", values, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3Between(String value1, String value2) {
            addCriterion("extent3 between", value1, value2, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent3NotBetween(String value1, String value2) {
            addCriterion("extent3 not between", value1, value2, "extent3");
            return (Criteria) this;
        }

        public Criteria andExtent4IsNull() {
            addCriterion("extent4 is null");
            return (Criteria) this;
        }

        public Criteria andExtent4IsNotNull() {
            addCriterion("extent4 is not null");
            return (Criteria) this;
        }

        public Criteria andExtent4EqualTo(String value) {
            addCriterion("extent4 =", value, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4NotEqualTo(String value) {
            addCriterion("extent4 <>", value, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4GreaterThan(String value) {
            addCriterion("extent4 >", value, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4GreaterThanOrEqualTo(String value) {
            addCriterion("extent4 >=", value, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4LessThan(String value) {
            addCriterion("extent4 <", value, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4LessThanOrEqualTo(String value) {
            addCriterion("extent4 <=", value, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4Like(String value) {
            addCriterion("extent4 like", value, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4NotLike(String value) {
            addCriterion("extent4 not like", value, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4In(List<String> values) {
            addCriterion("extent4 in", values, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4NotIn(List<String> values) {
            addCriterion("extent4 not in", values, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4Between(String value1, String value2) {
            addCriterion("extent4 between", value1, value2, "extent4");
            return (Criteria) this;
        }

        public Criteria andExtent4NotBetween(String value1, String value2) {
            addCriterion("extent4 not between", value1, value2, "extent4");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}